/** 
 * Project Name:extWeb 
 * File Name:ModuleGridScheme.java 
 * Package Name:com.spring.extjs.model 
 * Date:2015年2月10日下午10:06:27 
 * Copyright (c) 2015, chj_0507_dz@sina.com All Rights Reserved. 
 * 
 */

package com.spring.extjs.model;

import java.io.Serializable;
import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;

import com.spring.extjs.util.annotation.FieldDefine;
import com.spring.extjs.util.annotation.TableDefine;

/**
 * ClassName:ModuleGridScheme <br/>
 * Function: 模块的列表方案，一个模块可以有多个列表方案，可以显示不同的字段，有不同的属性 . <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2015年2月10日 下午10:06:27 <br/>
 * 
 * @author chj_0507_dz@sina.com
 * @version
 * @since JDK 1.6
 * @see
 */
@TableDefine(group = "系统模块", id = 9904, title = "模块列表方案", shortname = "列表方案")
public class ModuleGridScheme implements IModuleControlInterface, Serializable {

	private static final long serialVersionUID = 1L;

	public ModuleGridScheme() {

	}

	@FieldDefine(title = "ID号", number = 10, hidden = true)
	private Integer tf_gridSchemeId;

	@JsonIgnore
	@FieldDefine(title = "模块", number = 20)
	private Module tf_Module;

	@FieldDefine(title = "顺序号", number = 30)
	private Integer tf_schemeOrder;

	@FieldDefine(title = "方案名称", nameField = true, number = 40)
	private String tf_schemeName;

	@FieldDefine(title = "系统方案", number = 50)
	private Boolean tf_isSystemScheme;

	@FieldDefine(title = "可编辑", number = 60)
	private Boolean tf_isAllowEditInGrid;

	@FieldDefine(title = "双击操作", number = 70)
	private String tf_dblClickAction;

	@FieldDefine(title = "排序字段", number = 80)
	private String tf_defaultSort; // 默认排序字段，如为null则为数据库默认排序

	@FieldDefine(title = "附加设置", number = 90)
	private String tf_otherSetting;

	private List<ModuleGridSchemeGroup> moduleGridSchemeGroups;

	public Integer getTf_gridSchemeId() {
		return tf_gridSchemeId;
	}

	public void setTf_gridSchemeId(Integer tf_gridSchemeId) {
		this.tf_gridSchemeId = tf_gridSchemeId;
	}

	public Module getTf_Module() {
		return tf_Module;
	}

	public void setTf_Module(Module tf_Module) {
		this.tf_Module = tf_Module;
	}

	public Integer getTf_schemeOrder() {
		return tf_schemeOrder;
	}

	public void setTf_schemeOrder(Integer tf_schemeOrder) {
		this.tf_schemeOrder = tf_schemeOrder;
	}

	public String getTf_schemeName() {
		return tf_schemeName;
	}

	public void setTf_schemeName(String tf_schemeName) {
		this.tf_schemeName = tf_schemeName;
	}

	public Boolean getTf_isSystemScheme() {
		return tf_isSystemScheme;
	}

	public void setTf_isSystemScheme(Boolean tf_isSystemScheme) {
		this.tf_isSystemScheme = tf_isSystemScheme;
	}

	public Boolean getTf_isAllowEditInGrid() {
		return tf_isAllowEditInGrid;
	}

	public void setTf_isAllowEditInGrid(Boolean tf_isAllowEditInGrid) {
		this.tf_isAllowEditInGrid = tf_isAllowEditInGrid;
	}

	public String getTf_dblClickAction() {
		return tf_dblClickAction;
	}

	public void setTf_dblClickAction(String tf_dblClickAction) {
		this.tf_dblClickAction = tf_dblClickAction;
	}

	public String getTf_defaultSort() {
		return tf_defaultSort;
	}

	public void setTf_defaultSort(String tf_defaultSort) {
		this.tf_defaultSort = tf_defaultSort;
	}

	public String getTf_otherSetting() {
		return tf_otherSetting;
	}

	public void setTf_otherSetting(String tf_otherSetting) {
		this.tf_otherSetting = tf_otherSetting;
	}

	public List<ModuleGridSchemeGroup> getModuleGridSchemeGroups() {
		return moduleGridSchemeGroups;
	}

	public void setModuleGridSchemeGroups(List<ModuleGridSchemeGroup> moduleGridSchemeGroups) {
		this.moduleGridSchemeGroups = moduleGridSchemeGroups;
	}

}
